package com.skytech.component.crawler.scratch;

import javax.persistence.*;

@Entity
@Table(name="target_rules")
public class TargetRules {
    @Id
    @Column(name="id")
    private String id;

    @Column(name="seed_url")
    private String seedUrl;

    @Column(name="content_regex")
    private String contentRegex;

    @Column(name="next_page_regex")
    private String nextPageRegex;

    @Column(name="seed_describe")
    private String seedDescribe;

    @Column(name="type")
    private String type;

    @Column(name="generate_time")
    private String generateTime;

    @Column(name="title_select")
    private String titleSelect;

    @Column(name="content_select")
    private String contentSelect;

    @Column(name="catalog")
    private String catalog;

    @Column(name="news_type")
    private String newsType;

    @Column(name="next_button")
    private String nextButton;

    @Column(name="content_element")
    private String contentElement;

    @Column(name="data_type")
    private String dataType;

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSeedUrl() {
        return seedUrl;
    }

    public void setSeedUrl(String seedUrl) {
        this.seedUrl = seedUrl;
    }

    public String getContentRegex() {
        return contentRegex;
    }

    public void setContentRegex(String contentRegex) {
        this.contentRegex = contentRegex;
    }

    public String getNextPageRegex() {
        return nextPageRegex;
    }

    public void setNextPageRegex(String nextPageRegex) {
        this.nextPageRegex = nextPageRegex;
    }

    public String getSeedDescribe() {
        return seedDescribe;
    }

    public void setSeedDescribe(String seedDescribe) {
        this.seedDescribe = seedDescribe;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getGenerateTime() {
        return generateTime;
    }

    public void setGenerateTime(String generateTime) {
        this.generateTime = generateTime;
    }

    public String getTitleSelect() {
        return titleSelect;
    }

    public void setTitleSelect(String titleSelect) {
        this.titleSelect = titleSelect;
    }

    public String getContentSelect() {
        return contentSelect;
    }

    public void setContentSelect(String contentSelect) {
        this.contentSelect = contentSelect;
    }

    public String getCatalog() {
        return catalog;
    }

    public void setCatalog(String catalog) {
        this.catalog = catalog;
    }

    public String getNewsType() {
        return newsType;
    }

    public void setNewsType(String newsType) {
        this.newsType = newsType;
    }

    public String getNextButton() {
        return nextButton;
    }

    public void setNextButton(String nextButton) {
        this.nextButton = nextButton;
    }

    public String getContentElement() {
        return contentElement;
    }

    public void setContentElement(String contentElement) {
        this.contentElement = contentElement;
    }
}
